import request from '@/utils/request'

// 查询会员用户详情列表
export function listAVipUserDetail(query) {
  return request({
    url: '/system/aVipUserDetail/list',
    method: 'get',
    params: query
  })
}

// 查询会员用户详情详细
export function getAVipUserDetail(id) {
  return request({
    url: '/system/aVipUserDetail/' + id,
    method: 'get'
  })
}

// 新增会员用户详情
export function addAVipUserDetail(data) {
  return request({
    url: '/system/aVipUserDetail',
    method: 'post',
    data: data
  })
}

// 修改会员用户详情
export function updateAVipUserDetail(data) {
  return request({
    url: '/system/aVipUserDetail',
    method: 'put',
    data: data
  })
}

// 删除会员用户详情
export function delAVipUserDetail(id) {
  return request({
    url: '/system/aVipUserDetail/' + id,
    method: 'delete'
  })
}

// 逻辑删除会员用户详情
export function logicDelAVipUserDetail(id) {
  return request({
    url: '/system/aVipUserDetail/logicDel/' + id,
    method: 'delete'
  })
}
